SPRITE SCALE X

This command will return an integer value of the specified sprite"s horizontal scale.

  Syntax
Return Integer=SPRITE SCALE X(Sprite Number)
  Parameters
Sprite Number
Integer
The sprite number

  Returns

The horizontal scale the sprite is set to

  Description

The parameter should be specified using an integer value.

  Example Code
cls
load image "man.bmp",1
sprite 1,100,100,1
scale sprite x 1,200
wait 1000*8
print "sprite x scale= "+str$(sprite scale x(1) )
do
loop
end
  See also

SPRITE Commands Menu
Index